/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package smaragJava;

import java.sql.Date;

/**
 *
 * @author northpole
 */
class Post {

    private Integer id;
    private Integer author_id;
    private Integer category;
    private Double geo_logn;
    private Double geo_lat;
    private String location;
    private String depth;
    private Date date_seen_from;
    private Date date_seen_to;
    private String population;
    private String landscape;

    Media media;
    
    public Post(){
		media = new Media(getId(), getAuthor_id());
    }
    
    public Integer getAuthor_id() {
        return author_id;
    }

    public void setAuthor_id(Integer author_id) {
        this.author_id = author_id;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Date getDate_added() {
        return date_added;
    }

    public void setDate_added(Date date_added) {
        this.date_added = date_added;
    }

    public Date getDate_edited() {
        return date_edited;
    }

    public void setDate_edited(Date date_edited) {
        this.date_edited = date_edited;
    }

    public Date getDate_seen_from() {
        return date_seen_from;
    }

    public void setDate_seen_from(Date date_seen_from) {
        this.date_seen_from = date_seen_from;
    }

    public Date getDate_seen_to() {
        return date_seen_to;
    }

    public void setDate_seen_to(Date date_seen_to) {
        this.date_seen_to = date_seen_to;
    }

    public String getDepth() {
        return depth;
    }

    public void setDepth(String depth) {
        this.depth = depth;
    }

    public Double getGeo_lat() {
        return geo_lat;
    }

    public void setGeo_lat(Double geo_lat) {
        this.geo_lat = geo_lat;
    }

    public Double getGeo_logn() {
        return geo_logn;
    }

    public void setGeo_logn(Double geo_logn) {
        this.geo_logn = geo_logn;
    }

    public Boolean getHot_species() {
        return hot_species;
    }

    public void setHot_species(Boolean hot_species) {
        this.hot_species = hot_species;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLandscape() {
        return landscape;
    }

    public void setLandscape(String landscape) {
        this.landscape = landscape;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getPopulation() {
        return population;
    }

    public void setPopulation(String population) {
        this.population = population;
    }

    public String getPrev_observation() {
        return prev_observation;
    }

    public void setPrev_observation(String prev_observation) {
        this.prev_observation = prev_observation;
    }

    public Integer getSpecies_id() {
        return species_id;
    }

    public void setSpecies_id(Integer species_id) {
        this.species_id = species_id;
    }
    private String comment;
    private Boolean hot_species;
    private Integer species_id;
    private String prev_observation;
    private Date date_added;
    private Date date_edited;
}
